package test230325one;

/**
 * @author 兴趣使然黄小黄
 * @version 1.0
 * @date 2023/3/25 22:32
 * 洗衣机
 */
public class WashingMachine {

    private String name; // 洗衣机名称

    private String brand; // 品牌

    private int price; // 价格

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    // 洗衣服
    public void doTheLaundry() {
        System.out.println("单纯洗衣服");
    }
    //show
}
